package com.yhsx.jenkins.core;

/**
 * 核心类
 *
 * @author slf
 * @since 2024/5/11 17:22
 **/
public class CoreUtils {
    public static String run() {
        StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
        String clazz = stackTrace[stackTrace.length - 1].getClassName();
        System.out.println("核心：" + clazz);
        return clazz;
    }
}
